// 24 材料管理 33
export default {
  path: '/materialmanagement',
  name: 'materialmanagement',
  icon: 'snippets',
  authority: ['mgr:antd:material'],
  routes: [
    {
      path: '/materialmanagement/inmaterialmanage',
      name: 'inmaterialmanage',
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/materialmanagement/inmaterialmanage',
          redirect: '/materialmanagement/inmaterialmanage/index',
        },
        {
          path: '/materialmanagement/inmaterialmanage/index',
          component: './CareerManage/Material/Index',
        },
        {
          path: '/materialmanagement/inmaterialmanage/addcareer',
          name: 'addcareer',
          component: './CareerManage/TemplateSettings/AddNotify',
        },
        {
          path: '/materialmanagement/inmaterialmanage/addEmail',
          name: 'addEmail',
          component: './CareerManage/TemplateSettings/AddEmail',
        },
        {
          path: '/materialmanagement/inmaterialmanage/addmaterial',
          name: 'addmaterial',
          component: './CareerManage/Material/Add',
        },
        {
          path: '/materialmanagement/inmaterialmanage/detailmaterial',
          name: 'detailmaterial',
          component: './CareerManage/Material/Detail',
        },
        {
          path: '/materialmanagement/inmaterialmanage/revisecareer',
          name: 'revisecareer',
          component: './CareerManage/TemplateSettings/AddNotify',
        },
        {
          path: '/materialmanagement/inmaterialmanage/reviseEmail',
          name: 'reviseEmail',
          component: './CareerManage/TemplateSettings/AddEmail',
        },
        {
          path: '/materialmanagement/inmaterialmanage/revisematerial',
          name: 'revisematerial',
          component: './CareerManage/Material/Add',
        },
        {
          path: '/materialmanagement/inmaterialmanage/detailCareer',
          name: 'detailCareer',
          component: './CareerManage/TemplateSettings/DetailNotify',
        },
        {
          path: '/materialmanagement/inmaterialmanage/detailEmail',
          name: 'detailEmail',
          component: './CareerManage/TemplateSettings/DetailEmail',
        },
      ],
    },
    {
      path: '/materialmanagement/inservicematerial',
      name: 'inservicematerial',
      authority: ['mgr:mate:incum'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/materialmanagement/inservicematerial',
          redirect: '/materialmanagement/inservicematerial/index',
        },
        {
          path: '/materialmanagement/inservicematerial/index',

          component: './CareerManage/InserviceMaterial/Index',
        },
        {
          path: '/materialmanagement/inservicematerial/detail',
          name: 'detail',
          component: './CareerManage/InserviceMaterial/Detail',
        },
        {
          path: '/materialmanagement/inservicematerial/add',
          name: 'add',
          component: './CareerManage/InserviceMaterial/Add',
        },
        {
          path: '/materialmanagement/inservicematerial/update',
          name: 'update',
          component: './CareerManage/InserviceMaterial/Add',
        },
      ],
    },
  ],
};
